﻿#ifndef COMMON_H
#define COMMON_H

#define min(a, b)  (((a) < (b))? (a):(b))
#define max(a, b)  (((a) > (b))? (a):(b))

#define MAX_TIME_FONT_POINTSIZE 800
#define MIN_TIME_FONT_POINTSIZE 100

#define MAX_DATE_FONT_POINTSIZE 100
#define MIN_DATE_FONT_POINTSIZE 50

#define MAX_SENTENCE_FONT_POINTSIZE 80
#define MIN_SENTENCE_FONT_POINTSIZE 50

#define TIMER_CHECK_SPAN 300

#define MAX_LOCK_SPAN (60 * 60 * 24 * 30)
#define MIN_LOCK_SPAN (3)

#define MAX_CONFIG_SENTENCE_LENGTH 23


#endif // COMMON_H
